html{
    background:#eee;
    margin-left: 0.5%;
    margin-right: 0.5%;
}
body {
    margin:0px;
    background: url(../img/top2_png.png) repeat-x;
    font-family: Verdana, Arial, sans-serif;
    font-size: .6em;
}

p {
    line-height: 17px;
    margin: 11px 0 10px 0;
    padding: 0px;
}

h2 {
    color: #9f9f9f;
    margin:0px;
    padding:0px;
    font-size: 15px;
}
h3 {
    color: #9f9f9f;
    margin:0px;
    padding:0px;
    font-size: 8px;
}
a {
    color: #93B300;
}

a:hover {
    text-decoration: none;
}

#blockquote{
    background: #F7FDE3;
    color: #606060;
    padding: 10px;
}

.format_textarea { 
    border: solid 1px #E5E5E5;
    width: 600px;
    max-width: 600px;
    height: 100px;
    line-height: 150%;
    background: #FFFFFF url('form_background.png') left top repeat-x;/*Mimic Background Property in Internet Explorer since IE 6,7,8 does not support CSS3*/
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
    box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;/*0.1 actually means 10 %*/
    -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
    -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
   
}

/**** Main Container ***/


#wrap {
    /*    margin-top: 100px;*/
    margin-left: 15%; /*auto*/
    margin-right: 15%; /*auto*/
    width: 65%;
}


/**** Top ***/


#top  { 
    width: 130%;
    height: 88px;
    color: #fff;
    background: #000 url(../img/top2_png.png);
    overflow:hidden;
    /*    margin-top: 100px;*/
}


#top h1{
    color: white;
    letter-spacing: 2px;
    font-size: 1.7em;
    font-weight: normal;
    position: relative;
    margin: 0px 0px 0px 45%; /*0px*/
    top:40px;
    display:block;
    float:left;
    height:50%;
    background: url(../img/doc.png) no-repeat;
    padding-left: 37px; /*10*/

}


#top h2 {
    color: white;
    letter-spacing: 3px;
    font-size: 2.4em;
    font-weight: normal;
    position: relative;
    margin: 5px 0px 0px 19px; /*0px*/
    top:33px;
    display:block;
    float:left;
    background: url(../img/bg_menu.gif) no-repeat;
    padding-left: 25px; /*10*/
}

#top a {
    color: white;
    letter-spacing: 2px;
    font-size: 1.7em;
    font-weight: normal;
    position: relative;
    margin: 0px 0px 0px 67%; /*0px*/
    top:25px;
    display:block;
    float:left;
    height:70%;
    background: url(../img/logout.png) no-repeat;
    padding-left: 40px; /*10*/

}

#top h2 a {
    color: white;
    text-decoration: none;
}

#top h2 a:hover {
    color: #93B300;
}

#top a:hover {
    text-decoration:underline;
    color: #93B300;
}

/**** Content Container ***/


#content {
    width: 100%;
    margin-top:50px; /*100px*/

}

#content h2 {
    margin: 0;
    padding: 10px 0 10px 0;
}

/**** Content ***/

#left { 
    width: 420px; /*390px;*/
    float:right; /*left*/
    display: block;
    margin-top: 33px;
    margin-left: 70px; /*90px*/
    display: inline;
    color:black;
}

#left .box {
    width: 450px;
    height: 372px;
    background: #F6F9FB;
    font: 12px Arial, Helvetica, sans-serif;
    border: 3px solid #E1E1E1;
    margin-top:15px;
}

/**** Sidebar ***/


#right{
    width: 365px;  /*315*/
    float: left; /*right*/
    display:block;
    margin-top: 25px; /*10*/

}

#right .box {
    width: 24em;/*280px*/
    background: #F6F9FB;
    border: 2px solid #E1E1E1;
    padding:10px 25px 15px 10px;
    float: right;
    margin-top:15px;
}

#right .logo {
    width: 32em;/*280px 28em; */   
    height: 20em;
    background: #F6F9FB;
    border: 0px solid #E1E1E1;
    padding:10px 15px 170px 10px;
    float: right;
    background:url(../img/SAPCOMED.png) no-repeat;
}

#right .logo_foto {
    width: 28em;/*280px*/
    height: 20em;
    background: #F6F9FB;
    border: 0px solid #E1E1E1;
    padding:10px 15px 170px 10px;
    float: right;
    background: url(../img/cargarFoto.png) no-repeat;
}

#right .box h2 {
    font-size: 1.6em;
    margin: 0px 0 0px 0;
    padding:0px 0 5px 0;

}

#right .box a {
    margin: 10px 0 10px 0;
    color: #93B300;
    font-size: 10px;
}

#right .box p {
    margin: 5px 0 10px 0;
    line-height: 15px;
}

/**** Clear Div ***/


#clear {
    display: block;
    clear: both;
    width: 100%;
    height:1px;
    overflow:hidden;
    margin-top: 59%; /* 68%; */
}

/*** Login  ****/
#login-box{
    width:333px;
    height: 352px;
    padding: 30px 50px 0 76px;
    color: black;
    font: 12px Arial, Helvetica, sans-serif;
}

#login-box img {
    border:none;
}

#login-box h2 {
    padding:0;
    margin:0;
    color: black;
    font: bold 10px "Calibri", Arial;
}


#login-box-name {
    float: left;
    display:inline;
    width:80px;
    text-align: right;
    padding: 14px 10px 0 0;
    margin:0 0 7px 0;
    font: bold 17px "Calibri", Arial;
}

#login-box-field {
    float: left;
    display:inline;
    width:230px;
    margin:0;
    margin:0 0 7px 0;
    font: bold 17px "Calibri", Arial;
}


.form-login  {
    width: 205px;
    padding: 10px 4px 6px 3px;
    border: 1px solid #0d2c52;
    background-color: #FFDF80;  /*#E8883C;*/
    font-size: 16px;
    color: black;
}


.login-box-options  {
    clear:both;
    padding-left:87px;
    font: bold 12px "Calibri", Arial;
}

.login-box-options a {
    color: black;
    font-size: 12px;
}

#error-div{
    margin:30px 0 0 90px; 
    color: red; 
    font-weight: bold; 
    font-size: 1.1em;

}

/*** Login  ****/

/** Tabla Medicamentos ***/
#tabla_medicamentos
{
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    margin-top: 10px;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    /*border: 2px solid #9ac1c9;*/ /*#69c*/ 
}
#tabla_medicamentos th
{
    padding: 12px 17px 12px 17px;
    font-weight: bold;
    font-size: 14px;
    color: black;
    border-bottom: 1px dashed #9ac1c9;

}
#tabla_medicamentos td
{
    padding: 7px 17px 7px 17px;
    color: #9ac1c9;
}
#tabla_medicamentos tbody tr:hover td
{
    color: #339;
    background: #fff7c0;

}

a.agregar-eliminar img{
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
    -khtml-opacity: 0.5;
}
a.agregar-eliminar:hover img{
    filter:alpha(opacity=100);  
    -moz-opacity: 1.0;  
    opacity: 1.0;
    -khtml-opacity: 1.0; 
}



.ui-resizable {
    position:relative;
}
.ui-resizable-handle {
    display:block;
    font-size:0.1px;
    position:absolute;
    z-index:99999;
}

.ui-resizable-s { 
    background:#EEEEEE scroll center 2px;
    border-top:1px solid #CCCCCC;
    bottom:-5px;
    cursor:s-resize;
    height:14px;
    left:0;width:100%; 
}



/** Tabla Medicamentos ***/

/* Botón Ir Arriba
----------------------------------------------- */
#IrArriba{
    position: fixed;
    bottom: 30px; /* Distancia desde abajo */
    right: 30px; /* Distancia desde la derecha */
}

#IrArriba span{
    width: 60px; /* Ancho del botón */
    height: 60px; /* Alto del botón */
    display: block;
    background: url(../img/flecha-arriba.png) no-repeat center center;
}

.button {
    display:block;
    border:1px solid #666666;
    background:#efefef;
    font: bold 1.1em Helvetica, Arial, Sans-Serif;
    padding:5px 10px 5px 10px;
    margin:10px 0px 10px 0px;
}

.button:hover {
    display:block;
    border:1px solid #666666;
    background: #ffffff;
    padding:5px 10px 5px 10px;
    margin:10px 0px 10px 0px;
}

/****** Messages ******/

 div.growlUI { background: url(../img/check.png) no-repeat 10px 10px;}
            div.growlUI h1, div.growlUI h2 {
            color: white; padding: 5px 5px 5px 75px; text-align: left;}

/****** Messages ******/

/**** Footer ***/

#footer {
    height:40px;
    width: 960px;
    text-align: center;
    font-size: 11px;
    margin-top: 50px;
    padding: 0px 20px 0px 20px;
    margin: 2% 0% 6% 12%;
    color:black;

}
#footer2 {
    height:40px;
    width: 960px;
    text-align: center;
    font-size: 11px;
    margin-top: 50px;
    padding: 0px 20px 0px 20px;
    margin: 4% 0% 6% 8%;
    color:black;
}

#footer a:hover{
    text-decoration:underline;
    color:blue;
}


#footer a, a:link, a:active a:visited{
    text-decoration:none;
    color: black;
}

#footer .ftext{
    color:black;
    width: 900px;
    padding: 0px 20px 0px 20px;
    text-align: center;
}




